<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/3/2
  Time: 16:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--导入taglib指令,导入jstl核心库--%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>logo</title>
    <style>
     /*       .li_header{
                color: white;
                font-size: 17px;
            }

        #ul_daohang li{
            display: inline;
        }*/

    </style>
    <!--导入boostrap的css文件-->
    <link href="${pageContext.request.contextPath}/css/bootstrap.min.css" rel="stylesheet" >
    <!--导入jquery文件-->
    <script src="${pageContext.request.contextPath}/js/jquery-3.4.1.min.js"></script>
    <!--导入boostrap的js库-->
    <script src="${pageContext.request.contextPath}/js/bootstrap.min.js"></script>

</head>
<body>

<div>
<%--从session域中取出管理实体,判断是否为空--%>
<c:if test="${not empty admin}">
    <strong> 欢迎<span>${admin.name}</span>,登录了</strong>
    <a class="li_header" href="#">我的个人信息</a>
    <a class="li_header" href="#">退出</a>
</c:if>
<c:if test="${empty admin}">
    <a class="li_header" href="${pageContext.request.contextPath}/admin/login.jsp">亲,请登录<span class="sr-only">(current)</span></a>

</c:if>
</div>
<%--<nav class="navbar navbar-default">--%>

    <!--布局容器 : 占整个100%的宽度-->
    <%--<div class="container-fluid">--%>
        <!-- Brand and toggle get grouped for better mobile display -->
        <%--<div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <!--class="icon-bar" 图标 "-"  -->
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <!--<span class="icon-bar"></span>-->
            </button>

        </div>--%>

        <!--
                boostrap的collapse插件
         -->
      <%--  <div>
            <ul id="ul_daohang">


            </ul>
        </div>
    </div>--%>
<%--</nav>--%>
</body>
</html>
